package com.aidex.biz.mapper;

import com.aidex.common.core.mapper.BaseMapper;
import com.aidex.biz.domain.OrderImage;

import java.util.List;

/**
 * 订单详情照片Mapper接口
 * @author sean
 * @email 2074844820@qq.com
 * @date 2023-09-11
 */
public interface OrderImageMapper extends BaseMapper<OrderImage>
{

    /**
     * 批量删除订单详情照片
     * @param ids 需要删除的订单详情照片ID集合
     * @return
     */
    public int deleteOrderImageByIds(String[] ids);

    /**
     * 获取最大编号
     * @param orderImage 订单详情照片
     * @return 结果
     */
    public Integer findMaxSort(OrderImage orderImage);

    public Integer batchInsert(List<OrderImage> orderImageList);

}
